<?php

use yii\db\Schema;
use yii\db\Migration;

class m150505_093835_add_creative_ssp extends Migration
{
    public function up()
    {
    	$this->addColumn('{{%creative_ssp}}', 'form', "int(1) unsigned NOT NULL DEFAULT '0' COMMENT '0 banner, 1 video' after creative_id ");
    }

    public function down()
    {
        $this->dropColumn('{{%creative_ssp}}', 'form');
        return true;
    }
}
